package com.dxwan.rxfit.currency;

import com.dxwan.rxfit.currency.models.PufaResponse;

import io.reactivex.Single;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * Created by zhang on 2018/1/19.
 */

public interface PufaService {
    @FormUrlEncoded
    @POST("was5/web/search")
    Single<PufaResponse> query(@Field("channelid")int channelid, @Field("metadata")String metadata,
                               @Field("perpage")int perpage);
}
